* {
    margin: 0;
    padding: 0;
}

/** Phần Dùng Chung **/
body, td, th {
    font: 14px Arial, Tahoma, Times New Roman;
    background: #F4F5F6;
}

td, th {
    background: white;
}

.clear {
    clear: both;
}

a {
    text-decoration: none;
}

legend {
    font-size: 18px;
    font-weight: bold;
    color: #4294DE;
    text-transform: uppercase;
}

.error {
    height: 32px;
    line-height: 32px;
    border: 2px solid #FF2424;
    font-style: italic;
    font-size: 17px;
    background:  #FFC3C3 url('../images/error.png') no-repeat;
    padding: 3px 33px;
}

.valid {
    height: 32px;
    line-height: 32px;
    border: 2px solid green;
    font-style: italic;
    font-size: 17px;
    background:  #A2FEC1 url('../images/valid.png') no-repeat;
    padding: 3px 33px;
}

.warning {
    height: 32px;
    line-height: 32px;
    border: 2px solid gold;
    font-style: italic;
    font-size: 17px;
    background:  #FDFAA2 url('../images/warning.png') no-repeat;
    padding: 3px 33px;
}

.btnEdit {
    display: inline-block;
    height: 32px;
    width: 32px;
    background: url('../images/bg_edit_32.png');
    background-position: 0px -32px;
    margin: 0px 4px;
}

.btnEdit:hover {
    display: inline-block;
    height: 32px;
    width: 32px;
    background: url('../images/bg_edit_32.png');
    cursor: pointer;
}

.btnDel {
    display: inline-block;
    height: 32px;
    width: 32px;
    background: url('../images/bg_delete_32.png');
    background-position: 0px -32px;
    margin: 0px 4px;
}

.btnDel:hover {
    display: inline-block;
    height: 32px;
    width: 32px;
    background: url('../images/bg_delete_32.png');
    cursor: pointer;
}
.align_left {
    text-align: left;
}
.align_center {
    text-align: center;
}
/** LAYOUT **/
#container {
    margin: 50px auto;
    width: 1024px;
    
}

#header {
    height: 80px;
    background: black;
    background: -webkit-linear-gradient(top, #000000, #5B5B5B);
    border-radius: 10px 10px 0px 0px;
    -moz-border-radius: 10px 10px 0px 0px;
    -webkit-border-radius: 10px 10px 0px 0px;    
    color: white;
    text-align: center;
    line-height: 80px;
    font-size: 20px;
    font-weight: bold;
}

#nav_bar {
    background: white;
    height: 32px;
    line-height: 32px;
    font-weight: bold;
    color:white;
    border-left: 1px solid silver;
    border-right: 1px solid silver;
    border-bottom: 1px solid silver;
    overflow: hidden;
}

#nav_bar a{
    color: black;
}

#content {
    border-left: 1px solid silver;
    border-right: 1px solid silver;
    padding: 5px;
    background: white;
}

#footer {
    height: 40px;
    line-height: 40px;
    font-size: 15px;
    font-weight: bold;
    color: white;
    text-align: center;
    background: black;
    border-radius: 0px 0px 10px 10px;
    -moz-border-radius: 0px 0px 10px 10px;
    -webkit-border-radius: 0px 0px 10px 10px;
}

/** MENU LIST **/
.menu {
    list-style: none;
}
.menu li {
    float: left;
    border-left: 1px solid silver;
    border-right: 1px solid silver;
    border-bottom: 1px solid silver;
}
.menu_list {
    float: left;
    padding: 0px 30px;
}
.menu_list:hover {
    color: red;
}

.btnHome {
    width: 64px;
    height: 32px;
    padding: 0px;
    background: url('../images/home_p.png') no-repeat center -2px;
}
.btnHome:hover {
    background: url('../images/home_p.png') no-repeat center -38px;
}

/** Nội Dung Trang **/
#box_opt {
    width: 708px;
    float: left;
}

.box_item {
    position: relative;
    float: left;
    width: 167px;
    height: 150px;
    margin: 5px 5px;
    color: white;
}
.box_item img {
    position: absolute;
    width: 167px;
    height: 150px;
    z-index: 9;
}

.box_shadow {
    position: absolute;
    width: 167px;
    height: 150px;
    background: #F3F3F3;
}
.box_item:hover .box_shadow {
    background: black;
    opacity: .2;
    filter:alpha(opacity=20);
    z-index: 11;
}
.box_title {
    position: absolute;
    background: black;
    height: 40px;
    width: 167px;
    top:110px;
    opacity:0.5;
    filter:alpha(opacity=50);
    text-align: center;
    line-height: 40px;
    z-index: 10;
}


#box_stats {
    float: left;
    width: 270px;
    min-height: 200px;
    border: 1px solid silver;
    margin: 5px 5px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    padding: 5px;
}
#box_stats h3 {
    font-weight: bolder;
    font-size: 20px;
    color: #2E8DEF;
    text-align: center;
}

/** Thêm hàng hóa **/
#form_add {
    width: 500px;
    margin: 10px auto;
}

#field_add {
    padding: 5px;
   /* height: 465px;*/
}

.form_group {
    margin: 20px auto;
    width: 374px;
    text-align: left;
}
.form_group img {
    width: 150px;
}

.form_label {
    display: inline-block;
    width: 120px;
    color: #4294DE;
    font-weight: bold;
    font-style: italic;
    text-align: left;
}

.form_item {
    width: 250px;
    height: 20px;
    border: 1px solid silver;
}

.form_item:hover {
    width: 250px;
    height: 20px;
    background: #F4F5F6;
    border: 1px solid gold;
}

.btn_item {
    display: inline-block;
    width: 100px;
    height: 30px;
    background: #F4F5F6;
    border: 2px solid silver;
    cursor: pointer;
    margin: 0px 5px;
    font-weight: bold;
}
.btn_item:hover {
    background: #BBD3FF;
    border: 2px solid gold;
}
/** Danh sách hàng hóa **/
.data_list {
    width:  1000px;
    margin: 0px auto;
    border-collapse: collapse;
    border: 1px solid black;
}

.list_text {
    height: 32px;
    border: 1px solid black;
    padding: 0px 3px;
    text-align: center;
}

.list_title {
    font-weight: bold;
    font-size: 15px;
    color: #4294DE;
    background: #D9FAFF;
}

/** Thống kê **/
.stats {
    border-collapse: collapse;
    border-spacing: 0px;
    margin: 10px auto;
}

.stats .result {
    border: 1px solid silver;
    min-width: 150px;
    padding: 10px;
    font-size: 18px;
}

.stats .title {
    font-weight: bold;
    color: #2672EC;
    width: 150px;
}